import Api from '../../../common/api/api.js';

export const ProcessPaintMarkApi = {
    qualityRecordsList: params => {
        return Api.httpGet(`/paintPlan/paintList`, params);
    },
    dailyProductionPlanList: params => {
        return Api.httpGet(`/planDailyZz`, params);
    },
    productionLineDailyOutputFetch: params => {
        return Api.httpGet(`/planDailyZz/lineDailyZzList`, params);
    },
    lineFetch: params => {
        return Api.httpGet(`/planDailyZz/lineList`, params);
    },
    productionLineDailyOutputSave: params => {
        return Api.httpPost(`/planDailyZz/saveLinePlanDaily`, params);
    },
    dividedTrainPlanList: params => {
        return Api.httpGet(`/paintPlan/assignedLine/plans`, params);
    },
    dividedTrainPlanUndividedList: params => {
        return Api.httpGet(`/paintPlan/schedule/preset`, params);
    },
    newBuildSave: params => {
        return Api.httpPost(`/paintPlan/newManufacture`, params);
    },
    paintStartSave: params => {
        return Api.httpPost(`/paintPlan/schedule/confirmPreset`, params);
    },
    markDropOffKanban: params => {
        return Api.httpGet(`/paintPlan/markFinishPanel`, params);
    },
	getList: params => {
		return Api.httpGet(`/trainModel/all`, params)
	},
}